package com.zhonghe.active4j.filesys.service.impl;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhonghe.active4j.filesys.dao.FileFlowLineDao;
import com.zhonghe.active4j.filesys.entity.FileFlowLineEntity;
import com.zhonghe.active4j.filesys.service.FileFlowLineService;

@Service("fileFlowLineService")
@Transactional
public class FileFlowLineServiceImpl  extends ServiceImpl<FileFlowLineDao, FileFlowLineEntity> implements  FileFlowLineService{

	@Override
	public void saveUser(FileFlowLineEntity sysConfigEntity, String roleIds) {
		super.save(sysConfigEntity);
	}

	@Override
	public void saveOrUpdateUser(FileFlowLineEntity sysConfigEntity, String roleIds) {
		super.saveOrUpdate(sysConfigEntity);
	}

	@Override
	public void delete(FileFlowLineEntity sysConfigEntity) {
		//删除用户
		super.removeById(sysConfigEntity.getId());
	}

}
